package densetsu.model.players;

import densetsu.model.Direction;

/**
 * Player interface.
 * 
 * @author Koen
 * 
 */
public interface Player {

	/**
	 * Method to move the player left or right.
	 * 
	 * @param d
	 *            direction to move player in (left or right for now).
	 */
	public void move ( Direction d );

	/**
	 * Shoot a bullet in the current direction of the player.
	 */
	public void shoot ( );

	/**
	 * Jump! :D
	 */
	public void jump ( );

	/**
	 * Move the player to an entirely new location (think of portals or
	 * something).
	 * 
	 * @param x
	 *            new x coordinate
	 * @param y
	 *            new y coordinate
	 */
	public void setLocation ( int x, int y );

	/**
	 * @return the current x coordinate
	 */
	public int getX ( );

	/**
	 * @return the current y coordinate
	 */
	public int getY ( );

}
